package cn.david.org.mapper;

import cn.david.org.domain.Department;
import cn.david.org.domain.Employee;
import cn.david.org.query.DepartmentQuery;
import cn.david.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper {

    List <Employee> loadAll();

    List<Employee> queryData(EmployeeQuery query);

    Integer queryCount(EmployeeQuery query);

    void save(Employee employee);
    void update(Employee employee);
    void remove(Long id);
    Employee loadById(Long id);



}
